#! /bin/sh

# openbox
cp -r ~/.config/openbox/* ~/Public/my-rc/HomeRC/openbox

# tint2 & rofi & dunst & picom & rox-filer & zathura,all work with openbox
cp ~/.config/tint2/tint2rc ~/Public/my-rc/HomeRC/tint2/tint2rc
cp ~/.config/rofi/config.rasi ~/Public/my-rc/HomeRC/rofi/config.rasi
cp ~/.config/dunst/dunstrc ~/Public/my-rc/HomeRC/dunst/dunstrc
cp ~/.config/picom/picom.conf ~/Public/my-rc/HomeRC/picom/picom.conf
cp -af ~/.config/rox.sourceforge.net/. ~/Public/my-rc/HomeRC/rox.sourceforge.net
cp ~/.config/zathura/zathurarc ~/Public/my-rc/HomeRC/zathura/zathurarc

# conky
cp ~/.config/conky/conkyrc ~/Public/my-rc/HomeRC/conky/conkyrc

# Xresource for urxvt & uxterm
cp ~/.Xresources ~/Public/my-rc/HomeRC/urxvt/Xresources

# zshrc & bashrc
cp ~/.zshrc ~/Public/my-rc/HomeRC/shell/.zshrc
cp ~/.bashrc ~/Public/my-rc/HomeRC/shell/.bashrc

# vim & nvim
cp -rf ~/.vim/. ~/Public/my-rc/vim
cp -rf ~/.config/nvim/.  ~/Public/my-rc/nvim
rm -rf ~/Public/my-rc/vim/plugged
rm -rf ~/Public/my-rc/nvim/plugged
#rm -rf ~/Public/my-rc/vim/.vim
#rm -rf ~/Public/my-rc/nvim/nvim
cp ~/.config/nvim/init.vim ~/Public/my-rc/nvim/init.vim
cp ~/.vimrc ~/Public/my-rc/vim/vimrc
#cp -af ~/.vim/rc ~/Public/my-rc/vim/
#cp -r ~/.vim/mysnippets ~/Public/my-rc/vim/
#cp -r ~/.vim/rc ~/Public/my-rc/vim/

# zim wiki
cp -af ~/.config/zim ~/Public/my-rc/HomeRC/

#Autokey
cp -af ~/.config/autokey ~/Public/my-rc/HomeRC/

#DoubleCMD
cp -af ~/.config/doublecmd ~/Public/my-rc/HomeRC/

#ranger
cp -af ~/.config/ranger ~/Public/my-rc/HomeRC/
rm -rf ~/Public/my-rc/HomeRC/ranger/plugins/__pycache__

#alacritty
cp -af ~/.config/alacritty ~/Public/my-rc/HomeRC/

# i3wm config
cp -af ~/.config/i3/config ~/Public/my-rc/HomeRC/i3/

# mpv.conf
cp -af ~/.config/mpv/mpv.conf ~/Public/my-rc/HomeRC/mpv/

#~/.config/autostart
cp -af ~/.config/autostart/. ~/Public/my-rc/HomeRC/autostart/

# git status
git status
